<?php
/**
 * error.phtml
 * 
 * @category 	Madoqua
 * @package 	Layout
 * @subpackage 	Error
 */

if (!empty($this) && $this instanceof Zend_View) {
    //we're working in a Zend_View environment
    $exception = $this->exception;
    
    $head = $this->head();
    //head contents

    $content = $this->layout()->content;
    //get content out of layout
} else {
    //manual include
    $head = '';
    $content = nl2br((string) $exception);
    //$exception exists in the (bootstrap) environment this script is included in
}
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<style type="text/css">
		  body {
		      font-family: Tahoma, Verdana, Sans-Serif;
		      font-size:80%;
		  }
		</style>
		<?php echo $head; ?>
	</head>

	<body>
        <h1>Error, Error</h1>
        <?php echo $content; ?>
	</body>
	
</html>